package com.qf.gdbh;

public class ZSimpl implements ZS{

    @Override
    public boolean isZs(int num) {

        for (int i = 2; i < num; i++) {
            if (num%i==0){
                return false;
            }
        }

        return true;
    }
}
